package br.com.comdoc.cadastro;

//@author Keanujorge

import br.com.comdoc.interfaces.InterfaceContato;
import br.com.comdoc.repositorio.RepositorioContato;
import java.sql.SQLException;
import java.util.ArrayList;


public class CadastroContato implements InterfaceContato {

    @Override
    public void salvarContato(String nome1, String nome2, String cargo1, String cargo2, 
    String telefone1, String telefone2, String email1, String email2) throws ClassNotFoundException, 
    SQLException {
        
        
        
    }

    @Override
    public void aterarContato(int id, String nome1, String nome2, String cargo1, 
    String cargo2, String telefone1, String telefone2, String email1, String email2) throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void deletarContato(int id) throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public ArrayList consultarContatos() throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public ArrayList consultarContatosPorNomeExato(String nome) throws ClassNotFoundException, 
    SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public ArrayList consultarContatosPorNomeConcat(String nomeConcat) throws ClassNotFoundException, 
    SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int returnIdContato() throws ClassNotFoundException, SQLException {
        InterfaceContato repoContato = new RepositorioContato();
        return repoContato.returnIdContato();
        
    }
    
}
